package io.renren.modules.app.vo;

import io.renren.modules.bs.entity.BsDepartmentPatientEntity;
import io.renren.modules.bs.entity.BsDepartmentPatientImgEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@ApiModel("患者")
public class BsDepartmentPatientVo extends BsDepartmentPatientEntity {

    @ApiModelProperty(value = "姓名",required = true)
    @NotBlank(message="姓名不能为空")
    private String patientName;

    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @ApiModelProperty(value = "性别(1男2女)",required = true)
    @NotBlank(message="性别不能为空")
    private Integer gender;

    private List<BsDepartmentPatientImgEntity> imgEntities;
}
